package com.sinosoft.msf.base.supplier.dao.base;

import com.sinosoft.msf.base.supplier.pojo.entity.SCompanyContract;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SContractMapper {

    void updateDeletedState(@Param("companyId")String companyId);

    void updateCompanyId(@Param("oldCompanyId") String oldCompanyId, @Param("newCompanyId")String newCompanyId);
    void updateCompanyScopeState(@Param("companyId")String companyId);

    void updateCompanyScopeId(@Param("oldCompanyId") String oldCompanyId, @Param("newCompanyId")String newCompanyId);

    List<SCompanyContract> queryContractByCIds(@Param("companyIds") List<String> companyIds);
}
